import fly from '@/utils/request'

function register (param) {
  return fly.post('user/wxUser/register', param)
}

function judge (param) {
  return fly.get('user/wxUser/judge', param)
}

function sendVerifyCode (param) {
  return fly.get('user/sendVerifyCode', param)
}

function verifyCode (param) {
  return fly.get('user/verifyCode', param)
}

function id () {
  return fly.get('user/id')
}

export default {
  register,
  judge,
  sendVerifyCode,
  verifyCode,
  id
}
